package pers.burgess.fsm.client;

import pers.burgess.fsm.client.core.Client;
import pers.burgess.fsm.client.core.Handler;
import pers.burgess.fsm.client.gui.ClientGUI;

/**
 * Bash Client
 * 
 * Issue: directory/file name should not contains space
 * 
 * Available command:
 * 
 * LS -> view all files and directories
 * RM $file_name -> delete single file or directory
 * RM -F $file_name -> delete all files or directories
 * CP $file_name $target_path -> copy all files and directories to target path, like: cp test_dir d:\test_copy
 * CD $target_path -> change target path
 * EXIT -> disconnect
 * 
 * Start server before client, default host: localhost, default port: 9000
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        ClientGUI clientGUI = new ClientGUI();
        Handler handler = new Handler(new Client(), clientGUI);
        clientGUI.setVisible(true);
    }
}
